﻿@model IEnumerable<MarcatelHD.Models.tblRoles>

@{
    ViewBag.Title = "Roles";
}

<h2>Roles</h2>

<p>
  @*  @Html.ActionLink("Crear nuevo", "Create")*@
</p>
<table>
    <tr>
        <th>
            RolId
        </th>
        <th>
            Nombre
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.RolId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Nombre)
        </td>
        <td>
           @*  @Html.ActionLink("Editar", "Edit", new { id = item.RolId }) |
           @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Eliminar", "Delete", new { id = item.RolId })*@
        </td>
    </tr>
}

</table>
